<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<%@ page contentType="text/html; charset=utf-8"%>
	<%@ include file="/commons/taglibs.jsp"%>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<title></title>
		<%@ include file="/commons/css_js_head.jsp"%>

<script type="text/javascript">
doAddBeforeUrl = "${ctx }/permission/efMenuAction!doFindById.ts";

//添加之前
function doAddBefore() {
	var _form = document.forms[0];
	if (doAddBeforeUrl == '') {
		alert('请设置正确的URL!');
		return false;
	}
	
	var mainFrame = window.parent.frames["main"];
	mainFrame.location.href = doAddBeforeUrl+"?parentMenuId=0&efMenu.menuName=0";
}
</script>

	</head>

	<body style="overflow-y: auto; overflow-x: hidden">
		<div class="mTitle">
			<b class="bbig">菜单管理</b>
			<a href="javascript:void(0)" onclick="javascript:doAddBefore();">增加一级菜单</a>
		</div>
	</body>
</html>
